.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

.pagination button,
.pagination span {
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid #ddd;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

.pagination button:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  border-color: #e9ecef;
  cursor: not-allowed;
}

.pagination .current-page {
  font-weight: bold;
  border-color: #007bff;
  color: #007bff;
}

.pagination .current-page:hover {
  background-color: #007bff;
  color: #fff;
}

.pagination span:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .disabled,
.pagination .disabled:hover {
  background-color: #fff;
  color: #ddd;
  cursor: default;
}

.pagination span:hover:not(:disabled) {
  background-color: #e9ecef;
}

.ellipses {
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid #e9ecef;
  background-color: #e9ecef;
  color: #6c757d;
  cursor: pointer;
  display: inline-block;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

.ellipses:hover {
  background-color: #dde2e6;
}
